Skip to main content

revXMLRPC_GetResponse

Type

function

Summary

If the execution of an XML-RPC request was successful, this function returns the response document.

Syntax

revXMLRPC_GetResponse(<XMLRPCdocumentID>)

Description

Use the revXMLRPC_GetResponse function to retrieve the response to the execution of an XML-RPC request.

Important

The revXMLRPC_GetResponse function is part of the XML-RPC library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML-RPC" library checkbox is checked.

Parameters

NameTypeDescription

XMLRPCdocumentID

The number returned by the revXMLRPC_CreateRequest function when you created the XML-RPC request. If the revXMLRPC_GetResponse function encounters an error, it returns an error message starting with "xmlrpcerr" ..

Examples

local tResponse
put revXMLRPC_GetResponse(tRequest) into tResponse

function: revXMLRPC_GetRequest, revXMLRPC_Execute, revXMLRPC_Error, revXMLRPC_Error, revXMLRPC_CreateRequest, revXMLRPC_Execute

glossary: LiveCode custom library, Standalone Application Settings, standalone application, function, XML-RPC

library: XML-RPC library

Compatibility and Support

Introduced

LiveCode 2.5

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?